bin_PROGRAMS = greatoutdoors
greatoutdoors_SOURCES = rowgage.c \
	rowgage.h \
	greatoutdoors.c
SUBDIRS = agent controller gamelogic gameview gui lua map utils
greatoutdoors_CFLAGS = -Wall -pedantic --std c99 -DRG_VERBOSE
if KECK
INCLUDES = -I@top_srcdir@/src/ -I/usr/include/lua50/
greatoutdoors_LDADD = -llualib50 -lpng controller/libcontroller.a lua/librglua.a gamelogic/libgamelogic.a gameview/libview.a gui/libgui.a utils/libutils.a map/libmap.a agent/libagent.a -lGL -lGLU -lglut -lpthread
else
if MAC
INCLUDES = -I@top_srcdir@/src/
greatoutdoors_LDFLAGS = -framework OpenGL -framework GLUT
greatoutdoors_LDADD = -llua -lpng controller/libcontroller.a lua/librglua.a utils/libutils.a gamelogic/libgamelogic.a gameview/libview.a gui/libgui.a map/libmap.a agent/libagent.a
else
INCLUDES = -I@top_srcdir@/src/
greatoutdoors_LDADD = -llualib50 -lpng controller/libcontroller.a lua/librglua.a gamelogic/libgamelogic.a gameview/libview.a gui/libgui.a utils/libutils.a map/libmap.a agent/libagent.a -lGL -lGLU -lglut -lpthread
endif
endif
